
<table>
	<tr align="center">
		<th><input type="checkbox" class="check" name="chkall" value="on" checked onclick="chkbox(this.form)"></th>
		<th>序号</th>
		<th>流水号</th>
		<th>申请人</th>
		<th>要求日期</th>
		<th>名称+规格</th>
		<th>单位</th>
		<th>单价</th>
		<th>数量</th>
		<th>库存</th>
		<th>模号</th>
	</tr>
	{[foreach name=outer key=key item=item from=$result]} 
	{[assign var="no" value="`$key+1`"]}
	<tr align="center" onMouseOver="this.style.backgroundColor='#D2E4FC'" onMouseOut="this.style.backgroundColor='#FFFFFF'">
		<td><input type="checkbox" class="check" name="b_{[$item.id]}" value="{[$item.id]}" checked></td>
		<td>{[$no]}</td>
		<td>{[$item.id]}</td>
		<td>{[$item.emp_t]}</td>
		<td>{[$item.date]}</td>
		<td>{[$item.name|truncate:30:"...":true]}({[$item.standard|truncate:21:"...":true]})</td>
		<td>{[$item.unit]}</td>
		<td>{[$item.price|string_price]}</td>
		<td>{[$item.amount|string_float]}</td>
		<td>{[$item.kc.amount|string_float]}</td>
		<td>{[$item.mold_t]}</td>
	</tr>
	{[/foreach]}
</table>
